import "./css/style.css"
import axios from "axios"

axios.get("/list").then(res => {
    rove(res.data)
})

function rove(data) {
    lie.innerHTML =data.map((item) => {
        return `<li>${item.name}</li>`
    }).join("")
}